<?php

use yii\helpers\Html;
use yii\grid\GridView;

/* @var $this yii\web\View */
/* @var $searchModel common\search\IcoProjectSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */

$this->title = 'Ico Projects';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="ico-project-index">

    <h1><?= Html::encode($this->title) ?></h1>
    <?php // echo $this->render('_search', ['model' => $searchModel]); ?>

    <p>
        <?= Html::a('创建ICO项目', ['create'], ['class' => 'btn btn-success']) ?>
    </p>
    <?= GridView::widget([
        'dataProvider' => $dataProvider,
        'filterModel' => $searchModel,
        'columns' => [
            ['class' => 'yii\grid\SerialColumn'],

            'id',
            'name',
//            'base_desc:ntext',
//            'team_desc:ntext',
//            'white_book:ntext',
            // 'code',
            // 'publish_time',
            // 'cankao_price',
            // 'platform',
            // 'allcount',
            // 'count',
            // 'end_time',
            // 'start_time',
            // 'level',
            // 'created_at',
            // 'updated_at',
            // 'unit',
            // 'cover',
            // 'fee',

            ['class' => 'yii\grid\ActionColumn'],
        ],
    ]); ?>
</div>
